package com.yxzx.statistics.client;

import com.yxzx.common.YxzxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Copyright (C), 2018-2020
 * FileName: UcenterClient
 * Author:   kongfanyu
 * Date:     2020/8/15 23:57
 */
@Component
@FeignClient("yxzx-ucenter")
public interface UcenterClient {

    @GetMapping("/ucenter/ucenter-member/countRegister/{day}")
    public YxzxResult countRegister(@PathVariable("day") String day);
}
